//
//  UIImage+DFExtension.h
//  Pods
//
//  Created by rujia chen on 17/5/12.
//
//

#import <UIKit/UIKit.h>

@interface UIImage (DFExtension)

+ (UIImage *)df_imageWithColor:(UIColor *)color size:(CGSize)size alpha:(float)alpha;

- (UIImage *)df_tintedImageWithColor:(UIColor*)color;

- (UIImage *)df_tintedImageWithColor:(UIColor*)color alpha:(CGFloat)alpha;

- (UIImage *)df_tintedImageWithColor:(UIColor*)color rect:(CGRect)rect;

- (UIImage *)df_tintedImageWithColor:(UIColor*)color rect:(CGRect)rect alpha:(CGFloat)alpha;

@end
